<?php

namespace App\Repositories;

use App\Models\CarAuthLog;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class CarAuthRepository
 * @package App\Repositories
 * @version December 22, 2017, 4:19 am UTC
 *
 * @method CarAuth findWithoutFail($id, $columns = ['*'])
 * @method CarAuth find($id, $columns = ['*'])
 * @method CarAuth first($columns = ['*'])
*/
class CarAuthLogRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'park_code',
        'username',
        'cardno',
        'type',
        'vpl_number',
        'mobile',
        'address',
        'validbtime',
        'validetime',
        'operator',
        'email',
        'share',
        'share_count',
        'memo',
        'serial_no',
        'priority',
        'recharge',
        'extra_data'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return CarAuthLog::class;
    }
}
